import type { FieldRule } from 'vant'
export const modileRules: FieldRule[] = [
  { required: true, message: '请填写手机号' },
  { pattern: /^1[3-9]\d{9}$/, message: '请输入正确的手机号格式' }
]

export const passwordRules: FieldRule[] = [
  { required: true, message: '请填写密码' },
  { pattern: /^\w{6,10}$/, message: '请输入正确的手机号格式' }
]
